package link.jfire.socket.socketserver.storage.waitstrategy;

import link.jfire.socket.socketserver.exception.ServerStopException;
import link.jfire.socket.socketserver.storage.ringarray.RingArray;

public interface WaitStrategy
{
    public void waitFor(long next, RingArray ringArray) throws ServerStopException;
    
    /**
     * 唤醒所有在等待MessageRingArray可用的处理器
     */
    public void signallBlockwaiting();
    
}
